package com.jinmdz.fmis.mapper.entity;

import com.jinmdz.fmis.mapper.annotation.MyColumn;
import com.jinmdz.fmis.mapper.annotation.MyTable;
import com.jinmdz.fmis.mapper.base.BaseEntity;


/**
 * 服务分类表Entity
 *
 * @author generator
 * @date 2020-03-12 17:08
 */
@MyTable(value = "ServiceTypeEntity", name = "service_type", comment = "服务分类表")
public class ServiceTypeEntity extends BaseEntity {
    /**
     * 父类外键
     */
    @MyColumn(value = "parentId", name = "parent_id", comment = "父类外键", required = true)
    private Integer parentId;

    /**
     * 分类编码
     */
    @MyColumn(value = "typeCode", name = "type_code", comment = "分类编码", required = true)
    private String typeCode;

    /**
     * 分类名称
     */
    @MyColumn(value = "typeName", name = "type_name", comment = "分类名称", required = true)
    private String typeName;

    /**
     * 分类描述
     */
    @MyColumn(value = "typeDescribe", name = "type_describe", comment = "分类描述")
    private String typeDescribe;

    /**
     * 排序
     */
    @MyColumn(value = "sort", name = "sort", comment = "排序", required = true)
    private Integer sort;

    /**
     * 备注
     */
    @MyColumn(value = "remark", name = "remark", comment = "备注")
    private String remark;


    public Integer getParentId() {
        return parentId;
    }

    public ServiceTypeEntity setParentId(Integer parentId) {
        this.parentId = parentId;
        return this;
    }

    public String getTypeCode() {
        return typeCode;
    }

    public ServiceTypeEntity setTypeCode(String typeCode) {
        this.typeCode = typeCode;
        return this;
    }

    public String getTypeName() {
        return typeName;
    }

    public ServiceTypeEntity setTypeName(String typeName) {
        this.typeName = typeName;
        return this;
    }

    public String getTypeDescribe() {
        return typeDescribe;
    }

    public ServiceTypeEntity setTypeDescribe(String typeDescribe) {
        this.typeDescribe = typeDescribe;
        return this;
    }

    public Integer getSort() {
        return sort;
    }

    public ServiceTypeEntity setSort(Integer sort) {
        this.sort = sort;
        return this;
    }

    public String getRemark() {
        return remark;
    }

    public ServiceTypeEntity setRemark(String remark) {
        this.remark = remark;
        return this;
    }
}